package com.itheima.service;

import com.itheima.jopo.PageBean;
import com.itheima.jopo.Student;

/**
 * StudentService
 *
 * @author liliudong
 * @version 1.0
 * @description Student
 * @date 2023/5/1 11:04
 */
public interface StudentService {
    void save(Student student);

    void removeById(Integer id);

    Student getById(Integer id);

    void updateById(Student student);

    void deductions(Student student);

    Boolean existByPhone(String phone);

    PageBean page(Integer page, Integer pageSize, String name, Integer highestDegree, Integer classesId, String studentNumber);

    Boolean existByStudentNumber(String studentNumber);

    Boolean checkStudentNumberRepeat(String studentNumber);

    Boolean checkPhoneRepeat(Integer id, String phone);
}
